﻿using System;

namespace PlusPlusPaint.Layers
{
    delegate void LayerManagerHandler(object sender, LayerManagerEventArgs lmea);

    class LayerManagerEventArgs : EventArgs
    {
        public int OldLayerIndex;
        public int NewLayerIndex;
        public LayerSummary OldLayerSummary;
        public LayerSummary NewLayerSummary;

        public LayerManagerEventArgs(int oldIndex, int newIndex, LayerSummary oldLayer, LayerSummary newLayer)
        {
            this.OldLayerIndex = oldIndex;
            this.NewLayerIndex = newIndex;
            this.OldLayerSummary = oldLayer ;
            this.NewLayerSummary = newLayer;
        }
    }
}
